package com.example.entity.dto.PurchaseOrder;

import com.example.entity.dto.FileUpload.FileDto;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "采购单详情Dto")
public class PurchaseDetailDto {

    @ApiModelProperty("操作类型")
    private String operateMethod;

    @ApiModelProperty("创建者(用户登录人员)")
    private String creator;

    @ApiModelProperty("采购单别")
    @JsonProperty("type")
    private String TC001;

    @ApiModelProperty("采购单号")
    @JsonProperty("id")
    private String TC002;

    @ApiModelProperty("采购日期")
    @JsonProperty("purchaseDate")
    private String TC003;

    @ApiModelProperty("供应商")
    @JsonProperty("supplier")
    private String TC004;

    @ApiModelProperty("供应商名称")
    @JsonProperty("supplierName")
    private String MA002;

    @ApiModelProperty("单据日期")
    @JsonProperty("documentDate")
    private String TC024;

    @ApiModelProperty("审核者")
    @JsonProperty("userId")
    private String TC025;

    @ApiModelProperty("审核者名称")
    @JsonProperty("userName")
    private String MF002;

    @ApiModelProperty("工厂编号")
    @JsonProperty("factoryId")
    private String TC010;

    @ApiModelProperty("采购人员")
    @JsonProperty("purchaserNo")
    private String TC011;

    @ApiModelProperty("交易币种")
    @JsonProperty("coinType")
    private String TC005;

    @ApiModelProperty("汇率")
    @JsonProperty("exchangeRate")
    private Double TC006;

    @ApiModelProperty("税种")
    @JsonProperty("taxType")
    private String TC018;

    @ApiModelProperty("税率")
    @JsonProperty("tax")
    private Double TC026;

    @ApiModelProperty("付款条件编号")
    @JsonProperty("paymentId")
    private String TC027;

    @ApiModelProperty("付款条件")
    @JsonProperty("payment")
    private String TC008;

    @ApiModelProperty("备注")
    @JsonProperty("remark")
    private String TC009;

    @ApiModelProperty("结束")
    @JsonProperty("finish")
    private String TCD01;

    @ApiModelProperty("项目编号")
    @JsonProperty("projectId")
    private String  TC047;

    @ApiModelProperty("已开票金额")
    @JsonProperty("invoicedAmount")
    private Double TC044;

    @ApiModelProperty("已开票税额")
    @JsonProperty("invoicedTaxAmount")
    private Double TC045;

    @ApiModelProperty("运输方式")
    @JsonProperty("transportMethod")
    private String TC017;

    @ApiModelProperty("价格说明")
    @JsonProperty("priceDescription")
    private String TC007;

    @ApiModelProperty("打印格式")
    @JsonProperty("printFormat")
    private String TC012;

    @ApiModelProperty("打印次数")
    @JsonProperty("printNumber")
    private Double TC013;

    @ApiModelProperty("订金比率")
    @JsonProperty("depositRate")
    private Double TC028;

    @ApiModelProperty("送货地址(一)")
    @JsonProperty("shippingAddressOne")
    private String TC021;

    @ApiModelProperty("送货地址(二)")
    @JsonProperty("shippingAddressTwo")
    private String TC022;

    @ApiModelProperty("采购金额 (税前金额)")
    @JsonProperty("purchaseAmount")
    private Double TC019;

    @ApiModelProperty("数量合计 (计价数量)")
    @JsonProperty("totalNumber")
    private Double TC023;

    @ApiModelProperty("税额")
    @JsonProperty("totalTax")
    private Double TC020;

    @ApiModelProperty("总包装量")
    @JsonProperty("totalPackageNumber")
    private Double TC029;

    @ApiModelProperty("金额合计 (采购金额合计)")
    @JsonProperty("totalAmount")
    private String UDF03;

    @ApiModelProperty("客户订单编号")
    private String UDF07;

    @ApiModelProperty("采购单单身列表")
    private List<PurtdListDto> purtdList;

    @ApiModelProperty("文件列表")
    private List<FileDto> fileList;

    @ApiModelProperty("采购订单单头 录入者名称")
    private String UDF11;
    @ApiModelProperty("采购订单单头 修改者名称")
    private String UDF12;

    @ApiModelProperty("修改标识符")
    private Integer identifier;
}
